﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyAudioProject
{
    /// <summary>
    /// 录音接口
    /// </summary>
    public interface ISpeechRecorder
    {
        /// <summary>
        /// 保存
        /// </summary>
        /// <param name="fileName"></param>
        void SetFileName(string fileName);
        /// <summary>
        /// 开始录音
        /// </summary>
        void StartRecorder();
        /// <summary>
        /// 结束录音
        /// </summary>
        void StopRecorder();
    }
}
